# @Time : 2020/7/22 13:46
# @Author : Fioman 
# @Phone : 13149920693
import cv2 as cv
import numpy as np


def image_show(name, image,scale=True):
    if scale:
        h, w = image.shape[:2]
        newShape = (w // 5, h // 5)
        showImage = cv.resize(image,newShape,cv.INTER_AREA)
    showImage = image
    cv.namedWindow(name,cv.WINDOW_AUTOSIZE)
    cv.imshow(name,showImage)
    cv.waitKey(0)
if __name__ == '__main__':
    pass